package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.User;

public interface UserService {
    public PageResult pageQuery(QueryPageBean queryPageBean);

    public void add(User user);

    public void deleteById(Integer id);

    public void edit(User user);

    public User findById(Integer id);
}
